import Vue from 'vue'
import Router from 'vue-router'
import index from '../components/index.vue'
import haha from '../components/haha.vue'
import city from '../components/city/city.vue'
import sense from '../components/sense/sense.vue'
import money from '../components/sense/success.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path:'/haha',
      name:'haha',
      component:haha
    },
     {
      path: '/city',
      name: 'city',
      component: city
    },
    {
      path: '/sense/:id',
      name: 'sense',
      component: sense
    },
    {
      path:'/money',
      name:'money',
      component:money
    }
  ]
})
